package com.mjh.zhujianju.dao.party;

import com.livew.framework.base.dao.BaseMapper;
import com.mjh.zhujianju.model.party.BuildingNewsEO;
import com.mjh.zhujianju.vo.party.BuildingNewsVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BuildingNewsMapper extends BaseMapper<BuildingNewsEO> {

    /**
     * 微信端查询所有的新闻
     * @param type
     * @return
     */
    List<BuildingNewsVO> querybuildingNewsList(@Param("type")String type);
}